package com.snowfield.lb47.lbconfig.service;

import java.util.List;

import com.snowfield.lb47.lbconfig.domain.BlackwhiteList;
import com.snowfield.lb47.lbconfig.domain.HttpCheckMethod;

/**
 * HTTP检测方法Service接口
 * 
 * @author snowfield
 * @date 2024-05-28
 */
public interface IHttpCheckMethodService 
{
    /**
     * 查询HTTP检测方法
     * 
     * @param id HTTP检测方法主键
     * @return HTTP检测方法
     */
    public HttpCheckMethod selectHttpCheckMethodById(Long id);

    /**
     * 查询HTTP检测方法列表
     * 
     * @param httpCheckMethod HTTP检测方法
     * @return HTTP检测方法集合
     */
    public List<HttpCheckMethod> selectHttpCheckMethodList(HttpCheckMethod httpCheckMethod);

    /**
     * 新增HTTP检测方法
     * 
     * @param httpCheckMethod HTTP检测方法
     * @return 结果
     */
    public int insertHttpCheckMethod(HttpCheckMethod httpCheckMethod);

    /**
     * 修改HTTP检测方法
     * 
     * @param httpCheckMethod HTTP检测方法
     * @return 结果
     */
    public int updateHttpCheckMethod(HttpCheckMethod httpCheckMethod);

    /**
     * 批量删除HTTP检测方法
     * 
     * @param ids 需要删除的HTTP检测方法主键集合
     * @return 结果
     */
    public int deleteHttpCheckMethodByIds(Long[] ids);

    /**
     * 删除HTTP检测方法信息
     * 
     * @param id HTTP检测方法主键
     * @return 结果
     */
    public int deleteHttpCheckMethodById(Long id);

    /**
     * 校验HTTP检测方法名称是否唯一
     *
     * @param httpCheckMethod HTTP检测方法
     * @return 结果
     */
    public Boolean checkNameUnique(HttpCheckMethod httpCheckMethod);
}
